var mongoose = require('mongoose');
var materializedPlugin = require('mongoose-materialized');

var schema = new mongoose.Schema({ 
	text:String,
	num:Number
 });
schema.plugin(materializedPlugin);
var News = mongoose.model('News',  schema,'news'); 
module.exports = News;
